// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import Index from '../views/index.vue'


// 识别
import shibie_title from "@/views/shibie/shibie_title.vue";
import shibie_item1 from "@/views/shibie/shibie_item1.vue";
import shibie_item2 from "@/views/shibie/shibie_item2.vue";

// 防护
import fanghu_item1 from "@/views/fanghu/fanghu_item1.vue";
import fanghu_title from "@/views/fanghu/fanghu_title.vue";
import shibie_item3 from "@/views/shibie/shibie_item3.vue";
import shibie_item4 from "@/views/shibie/shibie_item4.vue";
import shibie_item5 from "@/views/shibie/shibie_item5.vue";
import fanghu_item2 from "@/views/fanghu/fanghu_item2.vue";

const routes = [
    {
        path: '/',
        name: 'index',
        component: Index
    },
    {
        path: '/shibie_title',
        name: 'shibie_title',
        component: shibie_title
    },
    {
        path: '/shibie_item1',
        name: 'shibie_item1',
        component: shibie_item1
    },
    {
        path: '/shibie_item2',
        name: 'shibie_item2',
        component: shibie_item2
    },
    {
        path: '/shibie_item3',
        name: 'shibie_item3',
        component: shibie_item3
    },
    {
        path: '/shibie_item4',
        name: 'shibie_item4',
        component: shibie_item4
    },
    {
        path: '/shibie_item5',
        name: 'shibie_item5',
        component: shibie_item5
    },
    {
        path: '/fanghu_title',
        name: 'fanghu_title',
        component: fanghu_title
    },
    {
        path: '/fanghu_item1',
        name: 'fanghu_item1',
        component: fanghu_item1
    },
    {
        path: '/fanghu_item2',
        name: 'fanghu_item2',
        component: fanghu_item2
    },



]

const router = createRouter({
    history: createWebHistory(),
    routes,
});


export default router